﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GKQC.Machine
{
    /// <summary>
    /// 測試運行時用的參數值類
    /// </summary>
    public class TestParams
    {
        public TestParams()
        {
            LcTesTime = 180;
            LcrTestDelay = 1;
            LcChargeTime = 60;
            LcDischargeTime = 5;
            LcVoltage = 0;
            LcTestDelay = 2;
            Qty = 12;
        }

        /// <summary>
        /// 测试时读取到的最大电压
        /// </summary>
        public double MaxTestVoltage { get; set; } 
        public static int MaxQty { get; set; } = 20;
        public string TestItem { get; set; }
        public string CDFreq { get; set; }
        public string ZRFreq { get; set; }
        public int LcrTestDelay { get; set; }
        public int LcChargeTime { get; set; }
        public int LcTesTime { get; set; }
        public int LcDischargeTime { get; set; }
        public decimal LcVoltage { get; set; }
        public int LcTestDelay { get; set; }
        public string LcLevel { get; set; }
        public bool IsLC2 { get; set; }
        public bool IsZ2 { get; set; }
        public bool IsEsr2 { get; set; }
        /// <summary>
        /// 單次檢測數量： 1至10個 
        /// </summary>
        public int Qty { get; set; }

        public bool IsLcOnly  { get; set; }
        public bool IsLcrOnly { get; set; }
    }
}
